import * as types from '../mutations-type'
import Server from '../../assets/conf/server'
const namespaced = true;
const state = {


}

const getters ={

}

const mutations ={

}

const actions ={
  userLogin({state}, data) {
    return new Promise((resolve) =>{
      Server.post('sys/list', function (data) {
        resolve(data);
      }, data);
    })
  }

}

export default {
  namespaced,
  state,
  mutations,
  actions,
  getters
}

